package cn.iocoder.an.module.mold.service.equipmnetkeepwait;

import cn.iocoder.an.framework.common.pojo.PageResult;
import cn.iocoder.an.module.mold.controller.admin.equipmnetkeepwait.vo.EquipmnetKeepWaitPageReqVO;
import cn.iocoder.an.module.mold.controller.admin.equipmnetkeepwait.vo.EquipmnetKeepWaitSaveReqVO;
import cn.iocoder.an.module.mold.dal.dataobject.equipmnetkeepwait.EquipmnetKeepWaitDO;
import jakarta.validation.Valid;

import java.util.List;

/**
 * 待保养设备 Service 接口
 *
 * @author zzy
 */
public interface EquipmnetKeepWaitService {

    /**
     * 创建待保养设备
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    void createEquipmnetKeepWait(@Valid EquipmnetKeepWaitSaveReqVO createReqVO);

    /**
     * 更新待保养设备
     *
     * @param updateReqVO 更新信息
     */
    void updateEquipmnetKeepWait(@Valid EquipmnetKeepWaitSaveReqVO updateReqVO);

    /**
     * 删除待保养设备
     *
     * @param id 编号
     */
    void deleteEquipmnetKeepWait(Long id);

    /**
    * 批量删除待保养设备
    *
    * @param ids 编号
    */
    void deleteEquipmnetKeepWaitListByIds(List<Long> ids);

    /**
     * 获得待保养设备
     *
     * @param id 编号
     * @return 待保养设备
     */
    EquipmnetKeepWaitDO getEquipmnetKeepWait(Long id);

    /**
     * 获得待保养设备分页
     *
     * @param pageReqVO 分页查询
     * @return 待保养设备分页
     */
    PageResult<EquipmnetKeepWaitDO> getEquipmnetKeepWaitPage(EquipmnetKeepWaitPageReqVO pageReqVO);


}